#pragma once
#include "cef_handler.h"

class CMainFrame : public WindowImplBase
{
protected:
	virtual CDuiString GetSkinFolder();
	virtual CDuiString GetSkinFile();
	virtual LPCTSTR GetWindowClassName(void) const;
	virtual LRESULT OnCreate(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
public:
	CMainFrame();
	//virtual LRESULT OnClose(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& bHandled);
	//virtual void Close(UINT nRet);
	virtual void Notify(TNotifyUI& msg);

	virtual void InitWindow();
	virtual void OnFinalMessage(HWND hWnd);

private:
	CefRefPtr<t3exapp::CCefHandler> m_handler;
	
};